package com.lucher.tangstore.po;

import java.util.Date;
import java.util.List;

public class Menu extends BaseField{
    /**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	private Integer id;

    private Integer pid;

    private String menutype;

    private Date addtime;

    private Double menuorder;

    private String menuname;

    private String menucode;

    private String state;

    private String menuurl;

    private String classtype;

    private String remark;

    private Menu menu;
	private List<Menu> menulist;
	private List<Menu> secondmenulist; // 二级菜单
	private List<Menu> thirdmenulist; // 三级菜单
	private Integer roleid;
    
    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getPid() {
        return pid;
    }

    public void setPid(Integer pid) {
        this.pid = pid;
    }

    public String getMenutype() {
        return menutype;
    }

    public void setMenutype(String menutype) {
        this.menutype = menutype == null ? null : menutype.trim();
    }

    public Date getAddtime() {
        return addtime;
    }

    public void setAddtime(Date addtime) {
        this.addtime = addtime;
    }

    public Double getMenuorder() {
        return menuorder;
    }

    public void setMenuorder(Double menuorder) {
        this.menuorder = menuorder;
    }

    public String getMenuname() {
        return menuname;
    }

    public void setMenuname(String menuname) {
        this.menuname = menuname == null ? null : menuname.trim();
    }

    public String getMenucode() {
        return menucode;
    }

    public void setMenucode(String menucode) {
        this.menucode = menucode == null ? null : menucode.trim();
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state == null ? null : state.trim();
    }

    public String getMenuurl() {
        return menuurl;
    }

    public void setMenuurl(String menuurl) {
        this.menuurl = menuurl == null ? null : menuurl.trim();
    }

    public String getClasstype() {
        return classtype;
    }

    public void setClasstype(String classtype) {
        this.classtype = classtype == null ? null : classtype.trim();
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark == null ? null : remark.trim();
    }

	public Menu getMenu() {
		return menu;
	}

	public void setMenu(Menu menu) {
		this.menu = menu;
	}

	public List<Menu> getMenulist() {
		return menulist;
	}

	public void setMenulist(List<Menu> menulist) {
		this.menulist = menulist;
	}

	public List<Menu> getSecondmenulist() {
		return secondmenulist;
	}

	public void setSecondmenulist(List<Menu> secondmenulist) {
		this.secondmenulist = secondmenulist;
	}

	public List<Menu> getThirdmenulist() {
		return thirdmenulist;
	}

	public void setThirdmenulist(List<Menu> thirdmenulist) {
		this.thirdmenulist = thirdmenulist;
	}

	public static long getSerialversionuid() {
		return serialVersionUID;
	}

	public Integer getRoleid() {
		return roleid;
	}

	public void setRoleid(Integer roleid) {
		this.roleid = roleid;
	}
}